my_foods = ['pizza', 'falafel', 'carrot cake']
friend_foods = my_foods[:]
friend_foods.pop()
print(my_foods)
print(friend_foods)

msg = 'The first three items in the list are'
print(msg[:3])
print(msg[5:8])
print(msg[-3:])